//
//  OverviewAreaAccountingData.swift
//  KoiAccounting
//
//  Created by 纪洪文 on 22.03.25.
//

import Foundation
struct OverviewAreaAccountingData {
    var expenseAmount:Double = 0.0
    var incomeAmount:Double = 0.0
    var balanceAmount:Double = 0.0
    
    func getExpenseAmount() -> String {
        return String(format: "%.2f", expenseAmount)
    }
    
    func getIncomeAmount() -> String {
        return String(format: "%.2f", incomeAmount)
    }
    
    func getBalanceAmount() -> String {
        return String(format: "%.2f", balanceAmount)
    }
}
